projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
37c3edc
)
(code_convert_region): If point in the conversion
author
Kenichi Handa
<handa@m17n.org>
Wed, 15 Apr 1998 23:49:52 +0000
(23:49 +0000)
committer
Kenichi Handa
<handa@m17n.org>
Wed, 15 Apr 1998 23:49:52 +0000
(23:49 +0000)
region, move it to FROM in advance.
src/coding.c
patch
|
blob
|
history
diff --git
a/src/coding.c
b/src/coding.c
index 6973a6d8e8e065036abfeb8913f606d7efae9946..4b70b259314431667cb64187844f5045d3445625 100644
(file)
--- a/
src/coding.c
+++ b/
src/coding.c
@@
-3967,6
+3967,9
@@
code_convert_region (from, from_byte, to, to_byte, coding, encodep, replace)
unsigned char *src, *dst;
Lisp_Object deletion = Qnil;
+ if (from < PT && PT < to)
+ SET_PT_BOTH (from, from_byte);
+
if (replace)
{
int saved_from = from;